//
//  MenuLayer.h
//  618
//
//  Created by Ling on 13-6-21.
//  Copyright 2013年 __618工作室__. All rights reserved.
//   选择菜单层

#import <Foundation/Foundation.h>
#import <GameKit/GameKit.h>
#import "cocos2d.h"
#import <GameKit/GameKit.h>

@interface NSObject (MenuLayerDelegate)

- (void) restartGame;

@end

@interface MenuLayer : CCLayer <GKAchievementViewControllerDelegate, GKLeaderboardViewControllerDelegate>{
    
    CCMenu *menu;
	id delegate;
	
	CCSprite *background;
}
@property (nonatomic, retain) id delegate;
@property (nonatomic, retain) CCMenu *menu;
@property (nonatomic, retain) CCSprite *background;


//Selector Methods
- (void) about:(id) sender;
- (void) highScores:(id) sender;
- (void) continueGames:(id) sender;
- (void) restartGame:(id) sender;

+ (CCMenuItemFont *) getSpacerItem;

@end
